<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS三大特性</title>
    <style>
        /* 层叠性 */
        /* div span{
            color: aqua;
        }
        div span{
            color: red;
        } */
        /* 继承性 */
        /* .fa{
            font-size: 50px;
            color: blueviolet;
        } */
        /* 优先性 */
        div span{
            color: pink;
            font-size: 50px;
        }
        span{
            color: blueviolet !important;
        }
    </style>
</head>
<body>
        <!-- 层叠性 -->
        <!-- <div>
            <span>文字</span>
        </div> -->
        <!-- 继承性 -->
        <div class="fa">
            <div class="son">儿子</div>
        </div>
        <!-- 优先性 -->
        <div>
            <span>文字</span>
        </div>
</body>
</html>